package person.csx.studentgradle.spring;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("沪C0555")
@Getter@Setter@ToString
public class Car {
    @Value("Nissan")
    private String type;
    @Value("180")
    private  int maxSpeed;
}
